package com.zwh.se.design_pattern.creational.factory.c_abstract_factory.factory;

import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.AmericanCoffee;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.Coffee;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.Dessert;
import com.zwh.se.design_pattern.creational.factory.c_abstract_factory.service.MatchaMousse;

/**
 * 美式甜点工厂
 */
public class AmericanDessertFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }
}
